package com.xbstar.datafusion.controller;

import java.util.HashMap;
import java.util.List;

public class RuleDomain {
	private String id;
	private String sysId;
	private String userId;
	private String createTime;
	private String description;
	private String isDelete;
	/**
	 * 必须字段集合
	 */
	private List<String> necessaryRuleKeys;
	/**
	 * 非必须字段集合
	 */
	private List<String> unNecessaryRuleKeys;
	/**
	 * 组成的块
	 */
	private List<BlockDomain>blocks;
	/**
	 * 块转发规则
	 */
	private List<HashMap<Long, List<String>>>block2SysId;
	/**
	 * 字段参与构造的块
	 */
	private List<HashMap<String, List<Long>>>key2Blcoks;
	
//	复写规则，转换字段集合，记录那些字段需要转换
	private List<String>exchangeKeys;
//	复写规则，即属性转换正向
	private HashMap<String, String>positiveExchangeRules;
//	复写规则，即属性转换逆向
	private HashMap<String, String>reverseExchangeRules;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getSysId() {
		return sysId;
	}
	public void setSysId(String sysId) {
		this.sysId = sysId;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getIsDelete() {
		return isDelete;
	}
	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}
	public List<String> getNecessaryRuleKeys() {
		return necessaryRuleKeys;
	}
	public void setNecessaryRuleKeys(List<String> necessaryRuleKeys) {
		this.necessaryRuleKeys = necessaryRuleKeys;
	}
	public List<String> getUnNecessaryRuleKeys() {
		return unNecessaryRuleKeys;
	}
	public void setUnNecessaryRuleKeys(List<String> unNecessaryRuleKeys) {
		this.unNecessaryRuleKeys = unNecessaryRuleKeys;
	}
	public List<BlockDomain> getBlocks() {
		return blocks;
	}
	public void setBlocks(List<BlockDomain> blocks) {
		this.blocks = blocks;
	}
	public List<HashMap<Long, List<String>>> getBlock2SysId() {
		return block2SysId;
	}
	public void setBlock2SysId(List<HashMap<Long, List<String>>> block2SysId) {
		this.block2SysId = block2SysId;
	}
	public List<HashMap<String, List<Long>>> getKey2Blcoks() {
		return key2Blcoks;
	}
	public void setKey2Blcoks(List<HashMap<String, List<Long>>> key2Blcoks) {
		this.key2Blcoks = key2Blcoks;
	}
	public List<String> getExchangeKeys() {
		return exchangeKeys;
	}
	public void setExchangeKeys(List<String> exchangeKeys) {
		this.exchangeKeys = exchangeKeys;
	}
	public HashMap<String, String> getPositiveExchangeRules() {
		return positiveExchangeRules;
	}
	public void setPositiveExchangeRules(HashMap<String, String> positiveExchangeRules) {
		this.positiveExchangeRules = positiveExchangeRules;
	}
	public HashMap<String, String> getReverseExchangeRules() {
		return reverseExchangeRules;
	}
	public void setReverseExchangeRules(HashMap<String, String> reverseExchangeRules) {
		this.reverseExchangeRules = reverseExchangeRules;
	}
	
	
}
